<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>ECMAsctipt入门介绍</title>
</head>
<body>
    <!-- 1. 模板字符串： 简化字符串的拼接
        * 模板字符串必须`` 包含
        * 变化的部分使用${xxx}定义 -->
    <script>
        let obj = {username:'kobe',age:39}
        let str = `我的名字叫做${obj.username},年龄是${obj.age}`
        console.log(str)
    </script>
    
</body>
</html>